/**
 * Created by caomenglong on 16/3/12.
 */
/*
 购物车使用的控制器
 */

app.controller('CartCtrl',['$scope','$state',function($scope,$state){
    //刷新
    $scope.doRefresh = function() {
        $scope.$broadcast('scroll.refreshComplete');
    }
    //前往订单创建页面
    $scope.goOrder=function(){
        $state.go('tab.order');
    }
}]);
